package com.cartrentalsystem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cartrentalsystem.domain.po.Repair;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cartrentalsystem.domain.vo.RepairVo;
import com.cartrentalsystem.domain.vo.Result;

import java.time.LocalDate;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author LHD
 * @since 2025-06-16
 */
public interface IRepairService extends IService<Repair> {

    Result<Page<RepairVo>> pageList(Integer page, Integer size, Integer status, String employeeName);

    boolean insertRepair(Integer id, String repairReason, Double repairMoney, String employeeName);

    boolean updateRepairing(Integer id, LocalDate repairTime, LocalDate repairExpectFinishTime);

    boolean updateRepaired(Integer id);
}
